package com.note.view;

import java.awt.Frame;
import java.util.Calendar;

import javax.swing.JDesktopPane;

import com.note.util.JCalendarChooser;
 

public class DateWindow extends Frame {
	JDesktopPane jd=new JDesktopPane(); 
	
	public DateWindow() {
		this.setSize(500, 400);
		init() ;
		this.setVisible(true);
		JCalendarChooser jcc=new JCalendarChooser(this);
		jcc.setSize(1000, 1000);
		Calendar cld=jcc.showCalendarDialog();
		System.out.println(cld); 
	}
	public void init() {
		
		//this.add(jd);
	}
	public static void main(String[] args) {
		new DateWindow();
	}
	
}
